package com.ruoyi.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生详情对象 t_student_detail
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class TStudentDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生详情id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 学历 */
    @Excel(name = "学历")
    private String educationBackground;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 父母电话 */
    @Excel(name = "父母电话")
    private String parentPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setEducationBackground(String educationBackground) 
    {
        this.educationBackground = educationBackground;
    }

    public String getEducationBackground() 
    {
        return educationBackground;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setParentPhone(String parentPhone) 
    {
        this.parentPhone = parentPhone;
    }

    public String getParentPhone() 
    {
        return parentPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("age", getAge())
            .append("sex", getSex())
            .append("educationBackground", getEducationBackground())
            .append("major", getMajor())
            .append("school", getSchool())
            .append("parentPhone", getParentPhone())
            .toString();
    }
}
